//
//  ViewController.m
//  10602 AutoSize
//
//  Created by Justsoso on 16/3/2.
//  Copyright © 2016年 NIIT. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIButton *orangeBtn;
@property (weak, nonatomic) IBOutlet UIButton *blueBtn;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}
//
//- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
//{
//    if (toInterfaceOrientation == UIInterfaceOrientationLandscapeLeft || toInterfaceOrientation == UIInterfaceOrientationLandscapeRight)
//    {
//        self.orangeBtn.frame = CGRectMake(20, 148, 627, 80);
//        self.blueBtn.frame = CGRectMake(20, 254, 627, 80);
//    }
//    else
//    {
//        self.orangeBtn.frame = CGRectMake(20, 148, 335, 200);
//        self.blueBtn.frame = CGRectMake(20, 374, 335, 200);
//    }
//}


@end
